/**
 * 
 */

/**
 * @author 
 * Yannic Remmet			196983
 * Tobias Trabelsi			197112
 * Anna-Katharina Wickert	197122
 */
public class Canteen {

	public static void main(String args[]){
		
		System.out.println(" --- New Meal with BaseDish Chicken --- ");
		Meal meal1 = new Chicken(null);
		printMeal(meal1);
		System.out.println(" --- Meal1 add Fish: --- ");
		meal1 = new Fish(meal1);
		printMeal(meal1);
		System.out.println(" -- Meal 1 add Pasta: --- ");
		meal1 = new Pasta(meal1);
		printMeal(meal1);
		
	}
	
	private static void printMeal(Meal meal){
		meal.printDescription();
		System.out.println("Price of the meal: " + meal.getPrice());
		System.out.println("Is eatable: " + meal.isEatable());
	}
	
}
